# 设置公鸡 cock, 母鸡 hen, 小鸡 chicken

for cock in range(0, 21):
    for hen in range(0, 34):
        for chicken in range(0, 301):
            sum = cock + hen + chicken
            cost = 5 * cock + 3 * hen + chicken / 3
            if sum == 100 and cost == 100:
                print("公鸡：", cock, " 母鸡：", hen, " 小鸡：", chicken)